﻿<%@ Control Language="C#"
            AutoEventWireup="true"
            CodeFile="Notify.ascx.cs"
            Inherits="UserControls_Notify" %>
<div class="ui-widget" id="Widget">
    <asp:Panel id="NotificationPanel" runat="server" style="margin-top: 10px; margin-bottom: 10px; padding: 0pt 0.7em; text-align: left;display:none;">
        <p> 
            <span style="float: left; margin-right: 0.3em;" class="ui-icon <%= Icon %>"></span>
            <strong><%= MessageLabel %>: </strong><asp:Literal ID="MessageLiteral" runat="server"></asp:Literal>
        </p>
    </asp:Panel>
</div>
<asp:HiddenField ID="TypeHiddenField" runat="server" Value="Alert" />
<script type="text/javascript">
    $(document).ready(function() {
       notify($("#<%= NotificationPanel.ClientID %>"), 500, 5000);
    });
</script>